package com.ruoyi.central.controller.custom;

import com.ruoyi.central.utils.pojo.OperationStationUtils;
import com.ruoyi.common.core.domain.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname OperationStationController
 * @Author: sunluquan
 * @Date: 2022/3/7 14:13
 * @Description TODO
 */
@RequestMapping("/operationStation")
@RestController
public class OperationStationController {

    /**
     * 获取区域列表
     * 将未分组的和分组的操作站位添加导区域列表中
     * @return
     */
    @GetMapping("/list")
    public AjaxResult get(){

        return AjaxResult.success(OperationStationUtils.getOperationStationList());

    }

}
